﻿using DatabaseProxy;
using DatabaseProxy.Attributes;

namespace DatabaseProxyTest
{
    [TableName("Comment")]
    public class CommentInfo : IDatabaseTable
    {
        [PrimaryKey]
        [Identity]
        public int Id { get; set; }
        public string? Title { get; set; }
        [ColumnName("Content")]
        public string? ContentData { get; set; }
        public int CreatorId { get; set; }
        public DateTime? CreateDateTime { get; set; }
    }
}
